#!/bin/sh /etc/rc.common
# Copyright (C) 2006-2011 OpenWrt.org

START=95

SERVICE_USE_PID=1
SERVICE_WRITE_PID=1
SERVICE_DAEMONIZE=1

start() {
    service_start /usr/bin/ss-local -b 0.0.0.0 -c /etc/shadowsocks.json
}

stop() {
    service_stop /usr/bin/ss-local
}
